package com.taijihuabao.modules.mapper;

import com.taijihuabao.modules.entity.RaiseSalaryEntity;

import java.util.List;

/**
 *审批
 * @author luoxianan
 */
public interface RaiseSalaryMapper {
    /**
     * 提薪申请单列表
     * @param raiseSalaryEntity
     * @return
     */
    List<RaiseSalaryEntity> selectList(RaiseSalaryEntity raiseSalaryEntity);
    /**
     * 根据id查询
     * @param id
     * @return
     */
    RaiseSalaryEntity selectById(Long id);

    /**
     * 根据申请编码查
     * @param raiseSalaryEntity
     * @return
     */
    RaiseSalaryEntity selectByRaiseCode(RaiseSalaryEntity raiseSalaryEntity);

    /**
     * 新增审批
     * @param raiseSalaryEntity
     */
    void insertRaiseSalary(RaiseSalaryEntity raiseSalaryEntity);

    /**
     * 修改审批状态
     *
     * @param raiseSalaryEntity
     */
    void updateRaiseSalaryState(RaiseSalaryEntity raiseSalaryEntity);

    /**
     * 修改审批
     *
     * @param raiseSalaryEntity
     */
    void updateRaiseSalary(RaiseSalaryEntity raiseSalaryEntity);
}
